import {defineConfig} from 'vitepress'

// https://vitepress.dev/reference/site-config
export default defineConfig({
  base: `/rm-rf-doc/`,
  title: "入魔入佛",
  description: "使用说明书",
  themeConfig: {
    // https://vitepress.dev/reference/default-theme-config
    nav: [
      {text: '开始使用', link: '/readme/info'},
      {text: 'Gitee', link: 'https://gitee.com/ziqian_coding/rm-rf'}
    ],

    sidebar: [
      {
        text: 'README',
        items: [
          {text: '功能特点', link: '/readme/info'},
          {text: '快速开始', link: '/readme/start'},
          {text: '特殊说明', link: '/readme/desc'}
        ]
      },
      {
        text: '开发',
        items: [
          {text: '常用命令行', link: '/development/command'},
          {text: '本地开发', link: '/development/start'},
          {text: '线上部署', link: '/development/build'},
          {text: '额外配置', link: '/development/config'},
        ]
      }
    ],

    socialLinks: [
      {icon: 'github', link: 'https://github.com/sa0ChunLuyu/rm-rf'},
    ]
  }
})
